#-*- coding:utf-8 -*-

# if __name__ == '__main__':
#     print "hello,world"

import operator

sequence = 1,2,4

print "add", "=>", reduce(operator.add, sequence)

print "sub", "=>", reduce(operator.sub, sequence)

print "mul", "=>", reduce(operator.mul, sequence)

print "concat", "=>", operator.concat("spam", "egg")

print "repeat", "=>", operator.repeat("spam", 5)

print "getitem", "=>", operator.getitem(sequence, 2)

print "indexOf", "=>", operator.indexOf(sequence, 2)

print "sequenceIncludes", "=>", operator.sequenceIncludes(sequence, 3)


